-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- Converter
Total Complexity |
37 |
Dependencies |
4 |
Dependents |
5 |
Total lines |
185 |
Lines of code |
104 |
Logical lines of code |
63 |
Comment lines |
27 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getConverter() |
A |
49 |
10 |
33 |
getConverterByExt() |
S |
59 |
6 |
16 |
unique_file() |
S |
55 |
4 |
20 |
isConverterFor() |
S |
62 |
4 |
11 |
getReplacementPath() |
S |
56 |
2 |
17 |
convert() |
S |
100 |
1 |
0 |
isConvertable() |
S |
100 |
1 |
0 |
restore() |
S |
100 |
1 |
0 |
getCheckSum() |
S |
100 |
1 |
0 |
updateMetaData() |
S |
100 |
1 |
0 |
getUpdatedMeta() |
S |
100 |
1 |
0 |
setupReplacer() |
S |
100 |
1 |
0 |
setTarget() |
S |
100 |
1 |
0 |
filterQueue() |
S |
100 |
1 |
0 |
__construct() |
S |
76 |
1 |
4 |
handleConvertedFilter() |
S |
82 |
1 |
3 |